LaStudioKitExtensions\Swatches\Module D

Total Complexity 196
Dependencies 5
Dependents 0
Total lines 1,002
Lines of code 880
Logical lines of code 413
Comment lines 27
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
ajax_swatches_get_variation_attributes()
C
35 26 82
override_dropdown_attributes()
C
34 23 82
render_swatches_item_by_attribute()
B
41 16 49
render_dropdown_variation()
A
45 15 36
get_all_variation_image_ids()
A
41 12 57
render_radio_variation()
A
45 13 34
get_all_variation_image_sizes()
A
42 11 52
get_available_variations()
A
45 9 39
admin_enqueue()
A
47 7 36
get_control_data_for_js()
S
36 1 118
flush_variation_gallery_cache()
S
54 7 19
get_product_variation_image_url_by_attribute()
S
55 6 18
init_term_metaboxes()
S
42 3 57
get_product_images_by_variations()
S
60 5 14
show_column_swatches_type()
S
54 4 19
get_cache_key()
S
59 4 14
save_metabox()
S
61 4 12
render_variation_gallery()
S
55 3 19
render_swatches_in_product_listing()
S
58 3 15
post_class()
S
67 3 7
is_active()
S
70 3 6
ajax_get_product_variations()
S
66 3 8
render_swatches_in_shortcode()
S
61 2 13
__construct()
S
55 1 17
flush_all_gallery_cache()
S
65 2 9
save_gallery_variation()
S
70 2 6
add_gallery_to_json()
S
72 1 5
increase_ajax_variation_threshold()
S
79 1 3
register_ajax_actions()
S
75 1 4
add_page_template()
S
71 1 6
add_swatches_to_product_tab_panel()
S
87 1 3
add_swatches_to_product_tab()
S
65 1 9
frontend_enqueue()
S
67 1 9
modify_swatches_style_in_product_listing()
S
82 1 3